package system.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import common.model.po.SysUserRole;
import org.springframework.stereotype.Service;
import system.mapper.SysUserRoleMapper;
import system.service.SysUserRoleService;

import javax.annotation.Resource;
import java.util.List;

/**
 * 描述
 *
 * @author 米泽鹏
 * @since 2023-10-25 下午 5:06
 */
@Service
public class SysUserRoleServiceImpl extends ServiceImpl<SysUserRoleMapper, SysUserRole> implements SysUserRoleService {

	@Resource
	private SysUserRoleMapper mapper;

	@Override
	public List<Long> getNotDeletedUserIdByRoleId(Long roleId) {
		return mapper.getNotDeletedUserIdByRoleId(roleId);
	}

}
